﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_sys_user_Edit" %>

<div class="frombox datagrid-body" style="padding-bottom:5px;">
    <form id="user-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">用户账号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="user-username" name="UserName" class="easyui-textbox" data-options="required:true,validType:'username'" value="<%= model.UserName %>" />
                    </div>
                </td>
            </tr>
            <tr id="user-password-row" class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">登录密码</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input type="password" name="PassWord" class="easyui-textbox" data-options="required:true,validType:'minLength[6]'" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">用户姓名</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Name" class="easyui-textbox" data-options="required:true" value="<%= model.Name %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">手机号码</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Mobile" class="easyui-textbox" data-options="required:true,validType:'mobile'" value="<%= model.Mobile %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">电话号码</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Tel" class="easyui-textbox" data-options="validType:'tel'" value="<%= model.Tel %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">电子邮箱</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Email" class="easyui-textbox" data-options="required:true,validType:'email'" value="<%= model.Email %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">选择部门</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="user-departmentid" name="DepartmentID" data-options="required:true" value="<%= model.DepartmentID %>" />
                    </div>
                </td>
            </tr>
        </table>
        <input id="user-userid" name="ID" type="hidden" value="<%= model.ID %>" />
        <input name="Tag" type="hidden" value="<%= model.Tag %>" />
        <input name="IsSuper" type="hidden" value="<%= model.IsSuper %>" />
        <input name="IsVisible" type="hidden" value="<%= model.IsVisible %>" />
        <input name="InsertTime" type="hidden" value="<%= model.InsertTime %>" />
    </form>
</div>
